package cn.sh.library.mgts.bean;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import cn.sh.library.mgts.service.ConfigService;
import cn.sh.library.mgts.service.InstanceService;

@Configuration
public class PlaceMapBean {
	@Resource
	private ConfigService configService;
	
	@Bean(name="placeMap")
	public Map<String, Object>  getPlaceMap() {
//		return new HashMap<>();
		return configService.place();
	}

}
